home *** CD-ROM | disk | FTP | other *** search
- unit ssCommon;
-
-
- interface
-
- uses WinProcs, WinTypes;
-
- const cColorCircle = 30;
-
- const ColorValues: array [0..5]of byte =
- (0, 65, 110, 155, 205, 255); { farbabstufungen }
- { 133 180 230 }
- { 40 90 168 }
-
- { farbabstufungen bei grundfarben }
- ColorValuesBase: array [0..8] of byte =
- (0, 65, 110, 133, 155, 180, 205, 230, 255);
-
- { graustufen }
- ColorValuesGrey: array [0..11] of byte =
- (0, 40, 65, 90, 110, 133, 155, 168, 180, 205, 230, 255);
-
- ColorIndexesColorScales :array[0..55] of byte =
- (11, 12, 235, 13, 236, 14, 237, 15, { blau }
- 16, 22, 229, 28, 230, 34, 231, 40, { grⁿn }
- 17, 24, 241, 31, 242, 38, 243, 45, { cyan }
- 46, 82, 226,118, 227,154, 228,190, { rot }
- 47, 84, 238,121, 239,158, 240,195, { magenta }
- 52, 94, 232,136, 233,178, 234,220, { gelb }
- 10, 53, 96,244, 139,245, 182,225 );{ wei▀ }
-
- (* ColorIndexesGreyScales: array [0..11]of byte =
- (0, 237, 43, 238, 86, 234,129, 239, 235,172, 236,215);*)
-
- ColorIndexesGreyScales: array [0..7]of byte =
- (10, 53, 96, 244,139, 245,182, 225);
-
- { 1 6 36
- 2 12 72
- 3 18 108
- 4 24 144
- 5 30 180
- }
- type
- TColorPalette = record
- palVersion: Word;
- palNumEntries: Word;
- palPalEntry: array[0..255] of TPaletteEntry;
- end;
-
- TColorCircle = array [0..cColorCircle - 1] of Byte;
-
- PInterface = ^TInterface;
- TInterface = record
- lSize: LongInt;
- lLevel: LongInt;
- lMagic: LongInt;
- lCaller: LongInt; { 1: LGD, 2: Randomizer }
- { hwndParent: hWnd;}
- cp: TColorPalette;
- hpal: HPalette;
- lUser1, lUser2: LongInt;
- cColors: integer;
- ColorCircle: TColorCircle;
- end;
-
- implementation
-
- end.
-